package com.yzg.sign.project.repository;



import com.yzg.sign.project.domain.Upload;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UploadRepository extends JpaRepository<Upload,Long>
{


    List<Upload> findByRelativeIdAndType(Long id, String type);

    void deleteByRelativeId(String valueOf);

    List<Upload> findByRelativeIdAndTypeLike(String projectId, String s);

    List<Upload> findByRelativeId(String projectId);
}
